import { PNode } from "~/models/graph/node/prototype"
import { PNodeType } from "~/models/graph/node/type"
import { PSlot } from "~/models/graph/slot/prototype"
import { PSlotType } from "~/models/graph/slot/type"
import { PyBundle } from "./PyBundle"
import { tAny, tBool, tNum, tStr } from "~/models/types"
import { InterfaceType } from "~/models/types/interface_type"
import { PyVar } from "../pyCode/PyVar"
import { PyFunc, PyFuncSign } from "../pyCode/PyFunc"
import { ListType } from "../types/list_type"
import { PyPkg } from "../pyCode/PyPkg"
import { _T, TypeTemplate } from "../types/type_template"

/**
 * 内置模组
 */
const bundle = new PyBundle('netspider', '网络爬虫')

// bundle.addFunc(new PyFunc({
//   isPure: true,
//   sign: new PyFuncSign('sum',
//     [
//       { name: '', type: new ListType(tNum) },
//     ],
//     [
//       { name: '', type: tNum },
//     ]
//   ),
//   implement: ``
// }))

export const bunNetSpider = bundle